package cn.gbase.jiangsu.data.transfer.bean;

import java.math.BigDecimal;
import java.util.Date;

import lombok.Data;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Table;

/**
* 
*/
@Data
@Table("shop_user_view")
public class ShopUserView implements java.io.Serializable {
	private static final long serialVersionUID = 5454155825314635342L;

	//columns START
	/**
	 * buildingId       db_column: building_id 
	 */
	@Column("building_id")
	private Integer buildingId;

	private String fullCode;

	/**
	 * buildingNo       db_column: building_no 
	 */
	@Column("building_no")
	private String buildingNo;
	/**
	 * buildingCode       db_column: building_code 
	 */
	@Column("building_code")
	private String buildingCode;
	/**
	 * communityId       db_column: community_id 
	 */
	@Column("community_id")
	private Integer communityId;
	/**
	 * communityName       db_column: community_name 
	 */
	@Column("community_name")
	private String communityName;
	/**
	 * communityCode       db_column: community_code 
	 */
	@Column("community_code")
	private String communityCode;
	/**
	 * unitNo       db_column: unit_no 
	 */
	@Column("unit_no")
	private String unitNo;
	/**
	 * unitCode       db_column: unit_code 
	 */
	@Column("unit_code")
	private String unitCode;

	@Column("unit_id")
	private String unitId;

	@Column("user_type")
	private Integer userType;

	@Column("one_card_no")
	private String oneCardNo;

	/**
	 * roomNo       db_column: room_no 
	 */
	@Column("room_no")
	private String roomNo;
	/**
	 * roomCode       db_column: room_code 
	 */
	@Column("room_code")
	private String roomCode;
	/**
	 * id       db_column: id 
	 */
	@Column("id")
	private Integer id;
	/**
	 * 登录用户名       db_column: username 
	 */
	@Column("username")
	private String username;
	/**
	 * 登录密码       db_column: pw 
	 */
	@Column("pw")
	private String pw;
	/**
	 * 真实姓名       db_column: real_name 
	 */
	@Column("real_name")
	private String realName;
	/**
	 * 出生日期       db_column: birthday 
	 */
	@Column("birthday")
	private java.sql.Timestamp birthday;
	/**
	 * 性别       db_column: sex 
	 */
	@Column("sex")
	private Integer sex;
	/**
	 * 绑定的房间ID       db_column: room_id 
	 */
	@Column("room_id")
	private Integer roomId;
	/**
	 * 电话       db_column: telephone 
	 */
	@Column("telephone")
	private String telephone;
	/**
	 * 手机       db_column: mobile 
	 */
	@Column("mobile")
	private String mobile;
	/**
	 * 家庭人数       db_column: family_number 
	 */
	@Column("family_number")
	private Integer familyNumber;
	/**
	 * 职业       db_column: occupation 
	 */
	@Column("occupation")
	private String occupation;
	/**
	 *  兴趣爱好       db_column: interest 
	 */
	@Column("interest")
	private String interest;
	/**
	 * 消费积分       db_column: shop_point 
	 */
	@Column("shop_point")
	private Integer shopPoint;
	/**
	 * 用户级别       db_column: user_level 
	 */
	@Column("user_level")
	private Integer userLevel;
	/**
	 * 登录次数       db_column: login_times 
	 */
	@Column("login_times")
	private Integer loginTimes;

	/**
	 * 审核状态
	 */
	@Column("status")
	private Integer status;

	/**
	 * 上次登录时间       db_column: last_logintime 
	 */
	@Column("last_logintime")
	private Date lastLogintime;
	/**
	 * 备注       db_column: remark 
	 */
	@Column("remark")
	private String remark;

	/**
	 * 电子邮箱
	 */
	@Column("email")
	private String email;

	/**
	 * 注册码
	 */
	@Column("bind_code")
	private String bindCode;
	/**
	 *  注册时间       db_column: addtime 
	 */
	@Column("addtime")
	private Date addtime;
	//columns END

	/**
	 * 用户余额
	 */
	@Column("account_balance")
	private BigDecimal accountBalance;

	/**
	 * 删除标志.
	 */
	@Column("delete_flag")
	private int deleteFlag;

	@Column("point_percent")
	private int pointPercent;

}
